/**
 * 
 */
package edu.gatech.oad.project.operations.users;

/**
 * Java representation of a Nurse
 * 
 * @author Group 17
 * @version 1.0
 */
public class Nurse extends User {


    /**
     * 
     */
    private static final long serialVersionUID = -7310467342074668377L;

    /**
     * User Constructor
     * 
     * @param name of the nurse
     * @param id of the nurse
     */
    public Nurse(String name, int id) {
        super(name, id);
    }
    
    /** 
     * @param name of the patient
     * @param id of the patient
     */
    public void addPatient(String name, int id){

        //need to add server code here to add this instance
        //to user database
        Patient patient = new Patient(name, id);
    }
    
    /**
     * Method makeAppointment.
     * 
     * @param date the calender day desired
     * @param time the time desired
     * @param d the doctor desired
     * @param reason the reason for the appointments
     */
    @Override
    public void makeAppointment(int date, int time, Doctor d, String reason) {
        // TODO Auto-generated method stub
        int annoyingRules = 1;
        annoyingRules++;
    
    }

    /**
     * @return a string
     */
    @Override
    public String toString() {
        return "Nurse [history=" + history + ", scheduler=" + scheduler
                + ", id=" + id + ", name=" + name + "]";
    }
    
    

}
